/**
 * Copyright (c) 2011 Nokia Corporation.
 */

// Own header
#include "haptics.h"

#ifdef Q_OS_SYMBIAN
    // Symbian specific includes
    #include <QFeedbackEffect>
    QTM_USE_NAMESPACE
#endif

// Backup2Go includes
#include "trace.h"


/*!
  \class Haptics
  \brief Implementation for providing feedback for user interface interaction.
*/


/*!
  Constructor.
*/
Haptics::Haptics(QObject *parent) :
    QObject(parent)
{
}


/*!
  Provides feedback when user has tapped a button.
*/
void Haptics::buttonTapFeedback()
{
#ifdef Q_OS_SYMBIAN
    QFeedbackEffect::playThemeEffect( QFeedbackEffect::ThemeBasicButton );
#else
    DEBUG_INFO("Tap");
#endif
}


// End of file.
